﻿using System.Text;
using System.Web;

namespace WebDotNet.Samples.HelloWorld.Handlers
{
	public class Index
	{
		public StringBuilder Get(HttpContextBase httpContextBase)
		{
			return new StringBuilder("Hello World");
		}

		public StringBuilder Get(HttpContextBase httpContextBase, string name)
		{
			return new StringBuilder(string.Format("Hello {0}", name ?? "NULL"));
		}
	}
}